package com.titanrise.crm.domain.dto;

import com.titanrise.crm.environment.annotation.TableColumn;
import com.titanrise.crm.environment.annotation.TableID;
import lombok.Builder;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
public class CustomerDto {
    @TableID("id")
    private String id;
    @TableColumn("phone_number")
    private String phoneNumber;
    @TableColumn("annual_income")
    private BigDecimal annualIncome;
    @TableColumn("industry")
    private String industry;
    @TableColumn("description")
    private String description;
    @TableColumn("country")
    private String country;
    @TableColumn("region")
    private String region;
    @TableColumn("province")
    private String province;
    @TableColumn("city")
    private String city;
    @TableColumn("district")
    private String district;
    @TableColumn("post_code")
    private String postCode;
    @TableColumn("create_time")
    private LocalDateTime createTime;
    @TableColumn("name")
    private String name;
    @TableColumn("email")
    private String email;
}
